const Koa = require("koa");
const app = new Koa();

const { mongodb } = require("./mongodb");
mongodb();

app.use((ctx) => {
  ctx.body = {
    msg: "koa mongodb",
  };
});

app.listen(3000);
